package com.example.demo.jobs;

import org.quartz.DisallowConcurrentExecution;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.quartz.PersistJobDataAfterExecution;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * 类注释
 *
 * @Author: dyf
 * @Date:
 */
@PersistJobDataAfterExecution
@DisallowConcurrentExecution
public class DemoJob implements Job {


    @Override
    public void execute(JobExecutionContext context) throws JobExecutionException {
        System.out.println("DemoJob");
    }

}
